#ifndef SerialLCD_h
#define SerialLCD_h

#include <inttypes.h>

#include "WString.h"

class SerialLCD 
{
  public:
    SerialLCD();
    
	void init();

    void begin(long speed);

    void clear();
    void home();

    void setCursor(uint8_t linha, uint8_t coluna); 
    void write(const char[]);
    void write(const String &s);	
	void write(long n);
	void write(unsigned long n);
	
  private:
    void comando(const char[]);
	void writeNumber(long n, uint8_t base);
  
};


#endif

